package com.mc.fil.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 追肥 对象 fil_fertilizer
 *
 * @author mc
 * @date 2021-04-14
 */
public class FilFertilizer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 追肥时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "追肥时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date manureUseDate;

    /** 肥料名称 */
    @Excel(name = "肥料名称")
    private String manureName;

    /** 施肥量 */
    @Excel(name = "施肥量")
    private Long manureUseLevel;

    /** 执行人 */
    @Excel(name = "执行人")
    private String workUserId;

    /** 采种田编号 */
    @Excel(name = "采种田编号")
    private String filId;

    private List<FilMultimedia> photos;

    public List<FilMultimedia> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FilMultimedia> photos) {
        this.photos = photos;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setManureUseDate(Date manureUseDate)
    {
        this.manureUseDate = manureUseDate;
    }

    public Date getManureUseDate()
    {
        return manureUseDate;
    }
    public void setManureName(String manureName)
    {
        this.manureName = manureName;
    }

    public String getManureName()
    {
        return manureName;
    }
    public void setManureUseLevel(Long manureUseLevel)
    {
        this.manureUseLevel = manureUseLevel;
    }

    public Long getManureUseLevel()
    {
        return manureUseLevel;
    }
    public void setWorkUserId(String workUserId)
    {
        this.workUserId = workUserId;
    }

    public String getWorkUserId()
    {
        return workUserId;
    }
    public void setFilId(String filId)
    {
        this.filId = filId;
    }

    public String getFilId()
    {
        return filId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("manureUseDate", getManureUseDate())
                .append("manureName", getManureName())
                .append("manureUseLevel", getManureUseLevel())
                .append("workUserId", getWorkUserId())
                .append("filId", getFilId())
                .append("photos", getPhotos())
                .toString();
    }
}